home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / misc / cpk_26.lha / cpk / scenes / hello.pov < prev   
Encoding:
Text File  |  1994-01-23  |  5.2 KB  |  125 lines

  1. //
  2. // PDB2POV (Amiga) atom input prepared by pdb2pov 01/22/94 22:20:35 
  3. // Author: Eric G. Suchanek, Ph.D. 
  4. //    Atoms:   39 
  5. //    Extent:    Xmin: -14.200 Xmax: 14.380, 
  6. //        Ymin: -19.520, Ymax: 17.610 
  7. //        Zmin: -11.831 Zmax: 11.669 
  8. //    Enclosing Sphere: 21.563
  9.  
  10. #include "colors.inc"
  11. #include "shapes.inc"
  12. #include "textures.inc"
  13. #include "atoms_vdw.inc"
  14. #include "atoms2.inc"
  15. camera {
  16.    location < 0, 0, -45.952 > 
  17.    direction < 0, 0, 1> 
  18.    up <0, 1, 0> 
  19.    right <4/3, 0, 0> 
  20.    look_at <0, 0, 0> 
  21. }
  22. object { 
  23.   light_source {
  24.      <14.380, 17.610, -39.263> 
  25.      color White 
  26.   }
  27. }
  28. /* A nice gradient shaded blue sky with white coulds */ 
  29. sphere { <0, 0, 0>, 3000 
  30.    pigment { 
  31.       gradient <0, 1, 0> 
  32.       colour_map { 
  33.          [0, 0.8  colour red .3   green 0.3 blue 1 
  34.                   colour red 0.7 green 0.7 blue 1] 
  35.          [0.8, 1  colour red 0.7 green 0.7 blue 1 
  36.                   colour red 0.90 green 0.9 blue 1] 
  37.       } 
  38.       scale <3000,  3000,  3000> 
  39.       quick_colour red 0.7  green 0.7 blue 1.0 
  40.    } 
  41.    finish { 
  42.       ambient 0.7 
  43.       diffuse 0   /* we don't want clouds casting shadows on the sky */ 
  44.    } 
  45.  
  46. sphere { <0, 0, 0>, 2590 
  47.    pigment { 
  48.       bozo 
  49.       turbulence 0.5 
  50.       colour_map { 
  51.          [0,   0.6   colour Clear 
  52.                      colour Clear] 
  53.          [0.6, 0.8   colour Clear 
  54.                      colour White] 
  55.          [0.8, 1.001 colour White 
  56.                      colour red 0.8 green 0.8 blue 0.8] 
  57.       } 
  58.       quick_colour red 0.7 green 0.7 blue 1 
  59.       scale <1000, 200, 1000> 
  60.    } 
  61.    finish {ambient 0.7 diffuse 0} 
  62. /* Create the beloved famous raytrace checkered floor */ 
  63. plane { y, -28.802756 
  64.       pigment { 
  65.       checker colour Black colour White 
  66.       scale 10.951667 
  67.      } 
  68.      finish { 
  69.        ambient 0.2 
  70.        diffuse 0.8 
  71.      } 
  72. #declare ATM_SCL = 1.00 
  73.  
  74. #declare hello_obj = union {
  75. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <5.900, -17.020, -4.791> }
  76. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <6.060, -14.190, -4.871> }
  77. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <6.220, -11.370, -4.961> }
  78. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <7.420, -10.050, -5.871> }
  79. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <9.650, -10.230, -7.601> }
  80. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <11.880, -10.410, -9.331> }
  81. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <2.800, -12.510, -2.321> }
  82. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <3.990, -11.190, -3.231> }
  83. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <5.190, -9.870, -4.141> }
  84. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <6.380, -8.550, -5.051> }
  85. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <7.580, -7.230, -5.961> }
  86. object { Atom_N scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <8.770, -5.910, -6.871> }
  87. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-0.770, -1.240, 0.579> }
  88. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <0.270, -2.740, -0.241> }
  89. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <1.560, -4.620, -1.271> }
  90. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <2.760, -3.290, -2.181> }
  91. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <3.950, -1.970, -3.091> }
  92. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-4.970, -1.250, 3.829> }
  93. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-3.770, 0.070, 2.919> }
  94. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-2.580, 1.390, 2.009> }
  95. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-1.380, 2.710, 1.109> }
  96. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-0.190, 4.030, 0.199> }
  97. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <5.150, -0.650, -3.991> }
  98. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <4.110, 0.850, -3.171> }
  99. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <3.080, 2.350, -2.351> }
  100. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <2.040, 3.850, -1.531> }
  101. object { Atom_C scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <1.010, 5.350, -0.711> }
  102. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-8.590, 4.000, 6.699> }
  103. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-9.630, 5.500, 7.529> }
  104. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-10.660, 7.010, 8.349> }
  105. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-11.700, 8.510, 9.169> }
  106. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-10.500, 9.830, 8.259> }
  107. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-9.310, 11.150, 7.349> }
  108. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-8.110, 12.470, 6.439> }
  109. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-6.920, 13.790, 5.529> }
  110. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-2.620, 10.610, 2.159> }
  111. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-3.650, 12.110, 2.979> }
  112. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-4.690, 13.610, 3.799> }
  113. object { Atom_O scale <ATM_SCL, ATM_SCL, ATM_SCL> translate <-5.720, 15.110, 4.619> }
  114. }
  115.  
  116. #declare hello = object {
  117.     object { hello_obj } 
  118.     bounded_by {sphere {<0 0 0> 21.563} }
  119.      } 
  120.  
  121. object { hello } 
  122.